#ifndef HISTORY_MANAGER_H
#define HISTORY_MANAGER_H

#include <vector>
#include <stdio.h>

class Event;
class EventDispatcher;

typedef Event HistoryEvent;

class HistoryManager
{
public:

	static HistoryManager* instance();

	void addHistoryEvent	( HistoryEvent* );
	void revertToEvent		( HistoryEvent* );

protected:

	HistoryManager(){};

private:

	static HistoryManager* singleton;

	std::vector<Event*> events;

};

#endif